<div id="lecat">
<ul class="toptab">
  <li><a href="index.php?action=CatEdit"><{$smarty.const._MD_LECAT_LANG_ADD_A_NEW_CAT}></a></li>
</ul>

<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>
<table class="outer">
  <thead>
    <tr>
      <th>
        <{$smarty.const._MD_LECAT_LANG_CAT_ID}><br />
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=<{$smarty.const.LECAT_CAT_SORT_KEY_CAT_ID}>"><img src="images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=-<{$smarty.const.LECAT_CAT_SORT_KEY_CAT_ID}>"><img src="images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>
      <th>
        <{$smarty.const._MD_LECAT_LANG_TITLE}><br />
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=<{$smarty.const.LECAT_CAT_SORT_KEY_TITLE}>"><img src="images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=-<{$smarty.const.LECAT_CAT_SORT_KEY_TITLE}>"><img src="images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>
      <th>
        <{$smarty.const._MD_LECAT_LANG_SET_ID}><br />
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=<{$smarty.const.LECAT_CAT_SORT_KEY_SET_ID}>"><img src="images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=-<{$smarty.const.LECAT_CAT_SORT_KEY_SET_ID}>"><img src="images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>
      <th>
        <{$smarty.const._MD_LECAT_LANG_P_ID}><br />
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=<{$smarty.const.LECAT_CAT_SORT_KEY_P_ID}>"><img src="images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=-<{$smarty.const.LECAT_CAT_SORT_KEY_P_ID}>"><img src="images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>
      <th>
        <{$smarty.const._MD_LECAT_LANG_MODULES}><br />
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=<{$smarty.const.LECAT_CAT_SORT_KEY_MODULES}>"><img src="images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=-<{$smarty.const.LECAT_CAT_SORT_KEY_MODULES}>"><img src="images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>
      <th>
        <{$smarty.const._MD_LECAT_LANG_DESCRIPTION}><br />
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=<{$smarty.const.LECAT_CAT_SORT_KEY_DESCRIPTION}>"><img src="images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=-<{$smarty.const.LECAT_CAT_SORT_KEY_DESCRIPTION}>"><img src="images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>
      <th>
        <{$smarty.const._MD_LECAT_LANG_DEPTH}><br />
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=<{$smarty.const.LECAT_CAT_SORT_KEY_DEPTH}>"><img src="images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=-<{$smarty.const.LECAT_CAT_SORT_KEY_DEPTH}>"><img src="images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>
      <th>
        <{$smarty.const._MD_LECAT_LANG_WEIGHT}><br />
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=<{$smarty.const.LECAT_CAT_SORT_KEY_WEIGHT}>"><img src="images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=-<{$smarty.const.LECAT_CAT_SORT_KEY_WEIGHT}>"><img src="images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>
      <th>
        <{$smarty.const._MD_LECAT_LANG_OPTIONS}><br />
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=<{$smarty.const.LECAT_CAT_SORT_KEY_OPTIONS}>"><img src="images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}>&amp;<{$pageNavi->getPrefix()}>sort=-<{$smarty.const.LECAT_CAT_SORT_KEY_OPTIONS}>"><img src="images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>
      <th><{$smarty.const._MD_LECAT_LANG_CONTROL}></th>
    </tr>
  </thead>
  <tbody>
    <{foreach item=obj from=$objects}>
      <tr class="<{cycle values='odd,even'}>">
        <td><{$obj->getShow('cat_id')}></td>
        <td><{$obj->getShow('title')}></td>
        <td><{$obj->getShow('set_id')}></td>
        <td><{$obj->getShow('p_id')}></td>
        <td><{$obj->getShow('modules')}></td>
        <td><{$obj->getShow('description')}></td>
        <td><{$obj->getShow('depth')}></td>
        <td><{$obj->getShow('weight')}></td>
        <td><{$obj->getShow('options')}></td>
        <td>
          <a href="./index.php?action=CatView&amp;cat_id=<{$obj->getShow('cat_id')}>"><{$smarty.const._VIEW}></a>
          <a href="./index.php?action=CatEdit&amp;cat_id=<{$obj->getShow('cat_id')}>"><{$smarty.const._EDIT}></a>
          <a href="./index.php?action=CatDelete&amp;cat_id=<{$obj->getShow('cat_id')}>"><{$smarty.const._DELETE}></a>
        </td>
      </tr>
    <{/foreach}>
  </tbody>
</table>
<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>
</div>
